﻿@if (Request.IsAuthenticated)
{
    <a class="menu-toggler" id="menu-toggler" href="#">
        <span class="menu-text"></span>
    </a>
    <div class="sidebar" id="sidebar">
        <div class="sidebar-shortcuts" id="sidebar-shortcuts">
            <div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
                <button class="btn btn-small btn-success">
                    <i class="icon-signal"></i>
                </button>
                <button class="btn btn-small btn-info">
                    <i class="icon-pencil"></i>
                </button>
                <button class="btn btn-small btn-warning">
                    <i class="icon-group"></i>
                </button>
                <button class="btn btn-small btn-danger">
                    <i class="icon-cogs"></i>
                </button>
            </div>
            <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
                <span class="btn btn-success"></span>
                <span class="btn btn-info"></span>
                <span class="btn btn-warning"></span>
                <span class="btn btn-danger"></span>
            </div>
        </div>
        <!--#sidebar-shortcuts-->
        <ul class="nav nav-list">
            <li>
                <a href="@Url.Action("Index", "ControlPanel",new { @class="active" })">
                    <i class="icon-dashboard"></i>
                    <span class="menu-text">ControlPanel </span>
                </a>
            </li>
            <li>
                <a href="@Url.Action("Index", "DbConfiguration", new { @class="active" })">
                    <i class="icon-plus"></i>
                    <span class="menu-text">DbConfigurationy</span>
                </a>
            </li>
            <li>
                <a href="#">
                    <i class="icon-calendar"></i>
                    <span class="menu-text">Calendar
                        <span class="badge badge-transparent tooltip-error" title="2&nbsp;Important&nbsp;Events">
                            <i class="icon-warning-sign red bigger-130"></i>
                        </span>
                    </span>
                </a>
            </li>
            <li class="text-center">
                @using (Html.BeginForm("LogOff", "DashBoard", FormMethod.Post, new { id = "logoutForm", @class = "menu-text" }))
                {
                    @Html.AntiForgeryToken()
                    <a href="javascript:document.getElementById('logoutForm').submit()" class="middle">
                        <i class="icon-power-off"></i><span class="menu-text">Logout</span>
                    </a>
                }
            </li>
        </ul>
        <!--/.nav-list-->
        <div class="sidebar-collapse" id="sidebar-collapse">
            <i class="icon-double-angle-left"></i>
        </div>
    </div>
}
